package cn.zhukelili.generic;

/**
 * @Description: 抽象元素
 * @Auther: hongheshou
 * @Date: 2018/7/23 15:21
 */
public abstract class Element {
    //定义业务逻辑
    public abstract void doSomething();

    //允许谁来访问
    public abstract void accept(IVisitor visitor);
}
